<template>
  <div class="demo2_page">
    <com-top-nav-bar
      :topNavBarObj="topNavBarObj"
      @toGetKeywordOrDateStr="getKeyWordOrDateStr"
    />
  </div>
</template>

<script>
  import comFilterMenu from '../../components/comFilterMenu';
  import comTopNavBar from "../../components/comTopNavBar";
  const rightOptionObj = {
    'a': '代招费到账',
    'b': '服务费到账',
    'c': '上家服务费',
    'd': '平台服务费',
    '3': '提现到账',
  };
  const rightOption = [
    { text: '代招费到账', value: 'a' },
    { text: '服务费到账', value: 'b' },
    { text: '上家服务费', value: 'c' },
    { text: '平台服务费', value: 'd' },
    { text: '提现到账', value: 'e' },
  ];

  export default {
    name: 'demo2',
    components:{
      comFilterMenu,
      comTopNavBar,
    },
    data(){
      return {
        topNavBarObj: {
          title: '',
          searchPlaceholder: '',
          dateLabel: '',
          pathForLeft: '',
        },
        rightOption,
        rightOptionObj,
        showOverlay: false,
      }
    },

    methods: {

      getKeyWordOrDateStr(keyWord){
        console.log('demo页面---关键词或者时间', keyWord);
      },
    }
  }
</script>

<style lang="scss" scoped>

</style>
